#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
typedef int LTDateType;
typedef struct DoubleList {
	int val;
	struct DoubleList* next;
	struct DoubleList* prev;
}DL;
DL* createnode(LTDateType x);
DL* InitList();
void DLPushBack(DL* phead, LTDateType x);
void DLPopBack(DL* phead);
void DLPrint(DL* phead);
void DLPushFront(DL* phead, LTDateType x);
void DLPopfront(DL* phead);
DL* DLFind(DL* phead, LTDateType x);
void DLInsert(DL* pos, LTDateType x);
void DLErase(DL* pos);
void DLDestory(DL* phead);